<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <base href="<%=basePath %>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>绑定用户仓库信息</title>
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript">
function saveArea(){
	var repertoryNo = $("#repertoryNo").val();
	var repertoryName = $("#repertoryName").val();
	var repertoryAddre = $("#repertoryAddre").val();
	var repertoryType = $("#repertoryType").val();
	window.parent.document.getElementById("repertoryNo").value=repertoryNo;
	window.parent.document.getElementById("repertoryName").value=repertoryName;
	window.parent.document.getElementById("repertoryAddre").value=repertoryAddre;
	window.parent.document.getElementById("repertoryType").value=repertoryType;
	
}
</script>
</head>
<body>
	    <table width="100%" border="0"  cellpadding="0" cellspacing="0">
		        <tr>
					<td >
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td bgcolor="#fffeee" style="border-bottom:#fee7bd solid 1px;" height="230px;" >
								    <table border="0" cellspacing="0" cellpadding="0" align="left" style="margin-top:20px; " >
				                        <tr style="height: 40px;">
								  			<td align="right" width="200px;">仓库编号：</td>
								  			<td  width="180px;">
								  				<input type="text" style="width: 200px;" class="input_are w122" id="repertoryNo" onchange="saveArea();" name="repertoryNo" value=""/></td>
								  			</tr>
								  			<tr>
								  			<td align="right" width="200px;">仓库名称：</td>
								  			<td  width="180px;">
								  				<input type="text" style="width: 200px;" class="input_are w122" onchange="saveArea();" id="repertoryName" name="repertoryName" value=""/></td>
								  		</tr>
								  		<tr style="height: 40px;">
								  			<td align="right">仓库地址：</td>
								  			<td width="180px;">
								  				<input type="text" style="width: 200px;" id="repertoryAddre" onchange="saveArea();" class="input_are w122" name="repertoryAddre" value=""/></td>
								  		</tr>
								  		<tr>  
                                         <td align="right" width="200px;">仓库类型：</td>
								  			<td  width="180px;">
								  			  <select id="repertoryType" name="repertoryType" style="width:120px;" onchange="saveArea();">
								  			      <option value="营业用仓库">营业用仓库</option>
								  			      <option value="自由仓库">自由仓库</option>
								  			   </select>
								  			</td>
								  		</tr>
									</table>
								</td>
			  				</tr>
						</table>
					</td>
				</tr>
			</table>
</body>
</html>